package com.example.demo.entity.requestJson;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author : 洪俊新
 * @date : 2021/3/17 14:52
 * @description:
 */
@ApiModel("发布帖子二级评论请求JSon类")
public class PostTwoLevelCommentReq {
    /**
     * 评论人userId
     * isnull 0
     */        @ApiModelProperty(value="评论人userId", position=2)
    private String userId;
    /**
     * 评论的书籍id
     * isnull 0
     */        @ApiModelProperty(value="评论的书籍id", position=4)
    private String postId;
    /**
     * 父评论id
     * isnull 0
     */        @ApiModelProperty(value="父评论id",position=6)
    private String parentCommentId;
    /**
     * 父评论的用户id
     * isnull 0
     */        @ApiModelProperty(value="父评论的用户id",position=7)
    private String parentCommentUserId;
    /**
     * 评论的内容
     * isnull 0
     */        @ApiModelProperty(value="评论的内容", position=11)
    private String content;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;
    }

    public String getParentCommentId() {
        return parentCommentId;
    }

    public void setParentCommentId(String parentCommentId) {
        this.parentCommentId = parentCommentId;
    }

    public String getParentCommentUserId() {
        return parentCommentUserId;
    }

    public void setParentCommentUserId(String parentCommentUserId) {
        this.parentCommentUserId = parentCommentUserId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "PostTwoLevelCommentReq{" +
                "userId='" + userId + '\'' +
                ", postId='" + postId + '\'' +
                ", parentCommentId='" + parentCommentId + '\'' +
                ", parentCommentUserId='" + parentCommentUserId + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
